package com.ztman.service.tenant.service;

import com.ztman.basic.base.service.SuperCacheService;
import com.ztman.service.tenant.dto.DatasourceConfigSaveDTO;
import com.ztman.service.tenant.entity.DatasourceConfig;

import java.util.List;

public interface DatasourceconfigService extends SuperCacheService<DatasourceConfig> {
    /**
     * 保存
     *
     * @param data 租户保存数据
     * @return 租户
     */
    DatasourceConfig save(DatasourceConfigSaveDTO data);

    Boolean delete(List<Long> ids);
}
